From ed581c94063a20fd7de933de2dd04aa6a8d2f121 Mon Sep 17 00:00:00 2001 From: "emellor@leeni.uk.xensource.com" Date: Wed, 14 Dec 2005 12:52:02 +0000 Subject: [PATCH] Fix calls to test-gcc-flag, to match previous changeset. Signed-off-by: Ewan Mellor --- xen/arch/x86/Rules.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk index e73be57bbc..79670678b7 100644 --- a/xen/arch/x86/Rules.mk +++ b/xen/arch/x86/Rules.mk @@ -21,9 +21,9 @@ endif CFLAGS += -msoft-float # Disable PIE/SSP if GCC supports them. They can break us. -CFLAGS += $(call test-gcc-flag,-nopie) -CFLAGS += $(call test-gcc-flag,-fno-stack-protector) -CFLAGS += $(call test-gcc-flag,-fno-stack-protector-all) +CFLAGS += $(call test-gcc-flag,$(CC),-nopie) +CFLAGS += $(call test-gcc-flag,$(CC),-fno-stack-protector) +CFLAGS += $(call test-gcc-flag,$(CC),-fno-stack-protector-all) ifeq ($(TARGET_SUBARCH),x86_32) CFLAGS += -m32 -march=i686 -- 2.30.2